//
//  SGActivityGroundTableView.h
//  SemiGroup
//
//  Created by 陈无忌 on 12/10/15.
//  Copyright © 2015 陈无忌. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SGHomePageActivityTableViewCell.h"

typedef enum TABLEVIEWDATATYPE
{
    ACTIVITY_GROUND = 0,      //活动广场
    ACTIVITY_SUGGEST,         //活动推荐
    ACTIVITY_HISTROY,         //历史活动
}TABLEVIEWDATATYPE;

@protocol SGActivityGroundTableViewDelegate <NSObject>


- (void)activitySelect:(SGActivity *)activity;

@end

@interface SGActivityGroundTableView : UITableView

@property (nonatomic, assign) id<SGActivityGroundTableViewDelegate> selectDelegate;

#pragma mark - Public Method
- (void)loadDataWithType:(TABLEVIEWDATATYPE)type;

@end
